Fix handling of tool-bar-position, also put into default-frame-alist.
authorJan D <jan.h.d@swipnet.se>
Fri, 13 Aug 2010 13:26:13 +0000 (15:26 +0200)
committerJan D <jan.h.d@swipnet.se>
Fri, 13 Aug 2010 13:26:13 +0000 (15:26 +0200)
commitca560562ec3ff5eee2164f41d7d4f13d16602e81
treebda8f4dee5abc525f828c6eb6dc4e12f2d27780d
parent215184ce3ec411b1760cab3d79f13ef09f9b68ef
Fix handling of tool-bar-position, also put into default-frame-alist.

* lisp/menu-bar.el (menu-bar-set-tool-bar-position): New function.
(menu-bar-showhide-tool-bar-menu-customize-enable-left)
(menu-bar-showhide-tool-bar-menu-customize-enable-right)
(menu-bar-showhide-tool-bar-menu-customize-enable-top)
(menu-bar-showhide-tool-bar-menu-customize-enable-bottom): Call
menu-bar-set-tool-bar-position.

* src/frame.h (Qtool_bar_position): Declare.

* src/xfns.c (Fx_create_frame): Call x_default_parameter for
Qtool_bar_position.
lisp/ChangeLog
lisp/menu-bar.el
src/ChangeLog
src/frame.h
src/xfns.c